import request from '@/utils/request'

// 获取支付列表
export function pagingShareCommission(query) {
  return request({
    url: '/content/shareCommission/pagingShareCommission',
    method: 'get',
    params: query
  })
}

// 打款扫码
export function paymentAppendScan(params) {
  return request({
    url: '/content/shareCommission/paymentAppendScan',
    method: 'post',
    params
  })
}

// 检测用户是否已付款
export function checkPayment(id) {
  return request({
    url: '/content/shareCommission/checkPayment',
    method: 'get',
    params: { id }
  })
}
